export type ConfigData = {
  //组内监控文件最大数量
  mete_file_num: string
  ip_white: string
  //鉴别失败最大次数
  login_check_num: string
  //鉴别失败限制时间
  login_check_minute: string
  // 密码复杂度
  password: string
  // 密码有效期
  password_expire: string
  // 审计/历史/告警查询最大范围
  search_max: string
  // 删除日志段操作记录
  delete_log_record: string
  // 删除管理端操作记录
  delete_manage_record: string
  // 审计危险等级划分
  warn_level?: string
  warn_level_high: string
  warn_level_mid: string
  warn_level_low: string
  // 状态危险等级划分
  state_level?: string
  state_level_high: string
  state_level_mid: string
  state_level_low: string
}

export type ConfigEmailData = {
  username: string
  password: string
  host: string
  port: number
}

export type ResetpasswordData = {
  id: string | number
  old: string
  password: string
  again: string
  pwd: string
}

export type EquipmentData = {
  user_limit: number
  user_space_limit: number
  user_files_limit: number
  data_limit: number
  data_space_limit: number
  data_snapshot_limit: number
  valid_time: string
  [key: string]: any
}
export type OtherData = {
  ssdevice_ssvs_count: number
  ssdevice_max_space_one_ssvs: number
  ssdevice_max_file_count_one_ssvs: number
  ssdevice_storage_total_space: number
  ssdevice_storage_total_file_count: number
  state_snapshot: number
  state_share: number
  state_log: number
  state_policy: number
  [key: string]: any
}

export type ConfigOrgData = {
  user_limit: number
  user_space_limit: number
  user_files_limit: number
  data_limit: number
  data_space_limit: number
  data_snapshot_limit: number
  valid_time: string
  ssdevice_ssvs_count: number
  ssdevice_max_space_one_ssvs: number
  ssdevice_max_file_count_one_ssvs: number
  ssdevice_storage_total_space: number
  ssdevice_storage_total_file_count: number
  state_snapshot: number
  state_share: number
  state_log: number
  state_policy: number
  [key: string]: any
}
